package com.xwyzsn.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xwyzsn.common.annotation.Excel;
import com.xwyzsn.common.core.domain.BaseEntity;

/**
 * 设备对象 devices
 * 
 * @author ruoyi
 * @date 2024-03-21
 */
public class Devices extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备功能 */
    @Excel(name = "设备功能")
    private String deviceFunc;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String status;

    @Excel(name = "图片地址")
    private String pic;

    public String getPic() {
        return pic;
    }
    public void setPic(String pic) {
        this.pic = pic;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceFunc(String deviceFunc) 
    {
        this.deviceFunc = deviceFunc;
    }

    public String getDeviceFunc() 
    {
        return deviceFunc;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceName", getDeviceName())
            .append("deviceFunc", getDeviceFunc())
            .append("status", getStatus())
            .append("pic", getPic())
            .toString();
    }
}
